/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.toools.gwt.wmc.server.dao;

import java.util.Collection;
import org.toools.gwt.wmc.jpa.Company;

/**
 *
 * @author roman schoenbichler
 */
public interface ICompanyDAO {
    Company getCompanyByID( Integer id );
    Boolean belongsTo( Integer id, Integer accountid );

    Collection<Company> getCompanies();
    Collection<Company> getCompanies( Integer accountid );

    Company create( Company c );
    Boolean update( Company c );
    Boolean delete( Company c );
}
